﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_Manage
{
    /// <summary>
    /// Base_Job
    /// </summary>
    [Table("Base_Job")]
    public class Base_Job
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 插件名称
        /// </summary>
        public String ClassName { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public String JobName { get; set; }

        /// <summary>
        /// 执行周期
        /// </summary>
        public int TimeSpan { get; set; }

        /// <summary>
        /// 每日执行时间
        /// </summary>
        public String StartTime { get; set; }

        /// <summary>
        /// 时间单位
        /// </summary>
        public String Unit { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public String State { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public String Message { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Notes { get; set; }

    }
}